# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contibutor: Alexandre Pujol <alexandre@pujol.io>

pkgname='pass-otp'
pkgver=1.2.0
pkgrel=2
pkgdesc='A pass extension for managing one-time-password (OTP) tokens.'
arch=('any')
url='https://github.com/tadfisher/pass-otp'
license=('GPL3')
depends=('pass'
        'oath-toolkit'
        'qrencode')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tadfisher/pass-otp/archive/v${pkgver}.tar.gz")
sha256sums=('5720a649267a240a4f7ba5a6445193481070049c1d08ba38b00d20fc551c3a67')


package() {
  cd "${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
